package com.sky.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
@Slf4j
public class MyTask {

    public void excuteTask(){
        log.info("定时任务执行{}",new Date());
    }
}
